package com.kaibes.module.shelter;

import java.util.List;

import org.springframework.stereotype.Service;

import com.kaibes.orm.curd.QueryBuilder;
import com.kaibes.web.api.ResponseServiceImpl;

@Service
public class ShelterService extends ResponseServiceImpl<Shelter> {
    
    public List<Shelter> listByTag(String tag) {
        return list(QueryBuilder.newBuilder().eq("tag", tag).build());
    }
    
}
